home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / program / 316 / install / make-cc1.com < prev    next >
Encoding:
Text File  |  1988-10-20  |  4.8 KB  |  126 lines

  1. $! 
  2. $!    Build the GNU "C" compiler on VMS
  3. $!
  4. $ if "''p1'" .eqs. "LINK" then goto Link
  5. $ gcc/debug/cc1_options="-mpcc-alignment" rtl.c
  6. $ gcc/debug/cc1_options="-mpcc-alignment" obstack.c
  7. $!    Generate insn-flags.h
  8. $ gcc/debug/cc1_options="-mpcc-alignment" genflags.c
  9. $ link/nomap genflags,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  10. $ genflags:=$sys$disk:[]genflags
  11. $ assign/user insn-flags.h sys$output:
  12. $ genflags md
  13. $!    Generate insn-codes.h
  14. $ gcc/debug/cc1_options="-mpcc-alignment" gencodes.c
  15. $ link/nomap gencodes,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  16. $ gencodes:=$sys$disk:[]gencodes
  17. $ assign/user insn-codes.h sys$output:
  18. $ gencodes md
  19. $!    Generate insn-config.h
  20. $ gcc/debug/cc1_options="-mpcc-alignment" genconfig.c
  21. $ link/nomap genconfig,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  22. $ genconfig:=$sys$disk:[]genconfig
  23. $ assign/user insn-config.h sys$output:
  24. $ genconfig md
  25. $!
  26. $ gcc/debug/cc1_options="-mpcc-alignment" toplev.c
  27. $!
  28. $ t1:='f$search("PARSE_TAB.C")'
  29. $ if "''t1'" .eqs. "" then goto 10$
  30. $ t1:='f$file_attributes("PARSE.Y","RDT")'
  31. $ t1:='f$cvtime(t1)'
  32. $ t2:='f$file_attributes("PARSE_TAB.C","RDT")'
  33. $ t2:='f$cvtime(t2)'
  34. $ if t1 .les. t2 then goto 20$
  35. $ 10$:
  36. $ bison /verbose parse.y
  37. $ 20$:
  38. $!
  39. $ gcc/debug/cc1_options="-mpcc-alignment" parse_tab.c
  40. $ gcc/debug/cc1_options="-mpcc-alignment" tree.c
  41. $ gcc/debug/cc1_options="-mpcc-alignment" print-tree.c
  42. $ gcc/debug/cc1_options="-mpcc-alignment" decl.c
  43. $ gcc/debug/cc1_options="-mpcc-alignment" typecheck.c
  44. $ gcc/debug/cc1_options="-mpcc-alignment" stor-layout.c
  45. $ gcc/debug/cc1_options="-mpcc-alignment" fold-const.c
  46. $ gcc/debug/cc1_options="-mpcc-alignment" varasm.c
  47. $ gcc/debug/cc1_options="-mpcc-alignment" expr.c
  48. $ gcc/debug/cc1_options="-mpcc-alignment" stmt.c
  49. $ gcc/debug/cc1_options="-mpcc-alignment" expmed.c
  50. $ gcc/debug/cc1_options="-mpcc-alignment" explow.c
  51. $ gcc/debug/cc1_options="-mpcc-alignment" optabs.c
  52. $ gcc/debug/cc1_options="-mpcc-alignment" symout.c
  53. $ gcc/debug/cc1_options="-mpcc-alignment" dbxout.c
  54. $ gcc/debug/cc1_options="-mpcc-alignment" emit-rtl.c
  55. $!    Generate insn-emit.c
  56. $ gcc/debug/cc1_options="-mpcc-alignment" genemit.c
  57. $ link/nomap genemit,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  58. $ genemit:=$sys$disk:[]genemit
  59. $ assign/user insn-emit.c sys$output:
  60. $ genemit md
  61. $!
  62. $ gcc/debug/cc1_options="-mpcc-alignment" insn-emit.c
  63. $ gcc/debug/cc1_options="-mpcc-alignment" jump.c
  64. $ gcc/debug/cc1_options="-mpcc-alignment" cse.c
  65. $ gcc/debug/cc1_options="-mpcc-alignment" loop.c
  66. $ gcc/debug/cc1_options="-mpcc-alignment" flow.c
  67. $ gcc/debug/cc1_options="-mpcc-alignment" stupid.c
  68. $ gcc/debug/cc1_options="-mpcc-alignment" combine.c
  69. $ gcc/debug/cc1_options="-mpcc-alignment" regclass.c
  70. $ gcc/debug/cc1_options="-mpcc-alignment" local-alloc.c
  71. $ gcc/debug/cc1_options="-mpcc-alignment" global-alloc.c
  72. $ gcc/debug/cc1_options="-mpcc-alignment" reload.c
  73. $ gcc/debug/cc1_options="-mpcc-alignment" reload1.c
  74. $!    Generate insn-peep.c
  75. $ gcc/debug/cc1_options="-mpcc-alignment" genpeep.c
  76. $ link/nomap genpeep,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  77. $ genpeep:=$sys$disk:[]genpeep
  78. $ assign/user insn-peep.c sys$output:
  79. $ genpeep md
  80. $!
  81. $ gcc/debug/cc1_options="-mpcc-alignment" insn-peep.c
  82. $ gcc/debug/cc1_options="-mpcc-alignment" final.c
  83. $ gcc/debug/cc1_options="-mpcc-alignment" recog.c
  84. $!    Generate insn-recog.c
  85. $ gcc/debug/cc1_options="-mpcc-alignment" genrecog.c
  86. $ link/nomap genrecog,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  87. $ genrecog:=$sys$disk:[]genrecog
  88. $ assign/user insn-recog.c sys$output:
  89. $ genrecog md
  90. $!
  91. $ gcc/debug/cc1_options="-mpcc-alignment" insn-recog.c
  92. $!    Generate insn-extract.c
  93. $ gcc/debug/cc1_options="-mpcc-alignment" genextract.c
  94. $ link/nomap genextract,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  95. $ genextract:=$sys$disk:[]genextract
  96. $ assign/user insn-extract.c sys$output:
  97. $ genextract md
  98. $!
  99. $ gcc/debug/cc1_options="-mpcc-alignment" insn-extract.c
  100. $!    Generate insn-output.c
  101. $ gcc/debug/cc1_options="-mpcc-alignment" genoutput.c
  102. $ link/nomap genoutput,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  103. $ genoutput:=$sys$disk:[]genoutput
  104. $ assign/user insn-output.c sys$output:
  105. $ genoutput md
  106. $!
  107. $ gcc/debug/cc1_options="-mpcc-alignment" insn-output.c
  108. $ gcc/debug/cc1_options="-mpcc-alignment" integrate.c
  109. $!
  110. $!    Link it
  111. $!
  112. $ Link:
  113. $ link/nomap/exe=gcc-cc1 sys$input:/opt
  114. !
  115. !    "CC1" Linker options file
  116. !
  117. toplev,parse_tab,tree,print-tree,decl,typecheck,stor-layout,fold-const,-
  118. varasm,rtl,expr,stmt,expmed,explow,optabs,symout,dbxout,emit-rtl,insn-emit,-
  119. jump,cse,loop,flow,stupid,combine,regclass,local-alloc,global-alloc,reload,-
  120. reload1,insn-peep,final,recog,insn-recog,insn-extract,insn-output,obstack,-
  121. integrate,-
  122. gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  123. $!
  124. $!    Done
  125. $!
  126.